package com.banmao.c01_factory_method.vehicle.car;

import com.banmao.c01_factory_method.vehicle.Vehicle;

public class Laosilaisi implements Vehicle {
    @Override
    public String getName() {
        return "劳斯莱斯";
    }

    @Override
    public void start() {
        System.out.println(getName() + "启动: 踩油门...");
    }

    @Override
    public void move() {
        System.out.println(getName() + "运行: 马路上...");
    }

    @Override
    public void stop() {
        System.out.println(getName() + "停止: 踩刹车...");
    }

}
